package cn.zymall.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "task_admin_view")
public class TaskAdminView extends BaseEntity implements Serializable {
    @TableField(value = "TASK_ID")
    private Integer taskId;

    @TableField(value = "TASK_NAME")
    private String taskName;

    @TableField(value = "TASK_SQL")
    private String taskSql;

    @TableField(value = "TASK_TIME")
    private Date taskTime;

    @TableField(value = "TASK_STATUS")
    private Integer taskStatus;

    @TableField(value = "TASK_TYPE")
    private Integer taskType;

    @TableField(value = "CREATE_BY")
    private Integer createBy;

    @TableField(value = "CREATE_TIME")
    private Date createTime;

    @TableField(value = "UPDATE_BY")
    private Integer updateBy;

    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    @TableField(value = "CREATE_PERSON_NAME")
    private String createPersonName;

    @TableField(value = "UPDATE_PERSON_NAME")
    private Integer updatePersonName;

    @TableField(exist = false)
    private String dateTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_TASK_ID = "TASK_ID";

    public static final String COL_TASK_NAME = "TASK_NAME";

    public static final String COL_TASK_SQL = "TASK_SQL";

    public static final String COL_TASK_TIME = "TASK_TIME";

    public static final String COL_TASK_STATUS = "TASK_STATUS";

    public static final String COL_TASK_TYPE = "TASK_TYPE";

    public static final String COL_CREATE_BY = "CREATE_BY";

    public static final String COL_CREATE_TIME = "CREATE_TIME";

    public static final String COL_UPDATE_BY = "UPDATE_BY";

    public static final String COL_UPDATE_TIME = "UPDATE_TIME";

    public static final String COL_CREATE_PERSON_NAME = "CREATE_PERSON_NAME";

    public static final String COL_UPDATE_PERSON_NAME = "UPDATE_PERSON_NAME";
}
